function Apple(instance) {
    return "\u521B\u5EFA\u4E00\u4E2A" + instance.categories + "\u82F9\u679C\u7535\u8111\u5B9E\u4F8B\uFF0C" + (instance.price ? "\u4EF7\u683C\u4E3A:" + instance.price + "\u5143" : "无报价") + ",\u5E26\u6709" + instance.usb + "\u4E2Ausb\u63A5\u53E3\u7684\u5C5E\u6027";
}
var Air = {
    usb: 4,
    categories: "Air"
};
var myAir = Apple(Air);
console.log(myAir);
var Pro = {
    usb: 5,
    categories: "Pro",
    price: 12999
};
var myPro = Apple(Pro);
console.log(myPro);
